package com.yuanqunsoft.alimigration.service;

import java.util.List;

import com.yuanqunsoft.alimigration.bean.RuleBean;
import com.yuanqunsoft.alimigration.bean.RuleImplementBean;
import com.yuanqunsoft.alimigration.model.Rule;


public interface IRuleImplementService {

    public boolean isInfoExisted(RuleBean rule, String className, int parseEngineType);
    
    public List<RuleBean> getAllRules();

    public boolean save(RuleImplementBean rs);

    public boolean delete(RuleImplementBean rs);

    public boolean update(RuleImplementBean rs);

    public List<RuleImplementBean> getAllRuleImplement();

    public List<RuleImplementBean> getAllRuleImplement(int currentPage, int pageSize);
    
    public List<RuleImplementBean> getRuleImplementByRuleId(int id);

    public RuleImplementBean getRuleImplementById(int id);

    public int getAllPage();

    public void selectRules(RuleImplementBean rs, Rule rule);
}
